import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import HelloTable from "../components/HelloTable.vue";
import DeptTable from "../components/DeptTable.vue";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    } ,
    {
      path: '/HelloTable',
      name: 'HelloTable',
      component: HelloTable
    },
    {
      path: '/DeptTable',
      name: 'DeptTable',
      component: DeptTable
    }
  ]
})
